home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / datacomm / 98 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.6 KB

  1. Path: scinter.aftac.gov!usenet
  2. From: mikey@scinter.AFTAC.GOV (Michael M Brockman)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Re: Reconnect PPP after a crash ?
  5. Date: 5 Jan 1996 02:59:57 GMT
  6. Organization: HQ AFTAC, Patrick AFB
  7. Distribution: inet
  8. Message-ID: <2181.6577T1306T1441@scinter.AFTAC.GOV>
  9. References: <1878.6573T24T2823@xs4all.nl> <753.6575T1036T268@ipacific.net.au>
  10. NNTP-Posting-Host: scants6.aftac.gov
  11. X-Newsreader: THOR 2.1 (Amiga;TCP/IP beta 5)
  12.  
  13. >>Hi,
  14.  
  15. >>I'm trying to figure out wether it's possible to reestablish a
  16. >>PPP-connection after a crash/reset. I'm using the builtin-dialer of PPP 1.3,
  17. >>it logs on and starts a script that sets up AmiTCP 4.1. Everything is
  18. >>alright untill some program crashes and i have to restart my computer. Then
  19. >>when i try the script again the modem just hangs up and my connection is
  20. >>gone. I hope someone has a solution or script.
  21.  
  22. >Yep - use an external dialer program (I use IPDial V1.9). Then have a "GoNet"
  23. >script which dials using using IPDial then runs "StartNet". Then you simply
  24. >run StartNet after each crash/reboot and your connection is fine again...
  25.  
  26. It's even easier than that. After the modem drops connection....Open up a
  27. shell and issue a 'offline ppp0' (Assuming you are using ppp0). Then issue a
  28. 'online ppp0' command...(May have to do the online command twice)...And like
  29. magic....Modem will re-dial and re-negotiate a connection......If you are
  30. using the built-in dailer of ppp1.30
  31.  
  32. This is the best way to re-negotiate a connection cuz....if you were in the
  33. middle of a transfer....and you happen to get the same dynamic address....Your
  34. protocol stack (i.e AmiTCP)...will continue as is from where the modem hung up
  35. ...[Note: It works even better with a static IP Address]
  36.  
  37. I have been in the middle of an ftp session and lost a connection .....Using
  38. the above commands I was able to continue with no problems......
  39.  
  40. For system crashes....you just re-run your start script....make sure that the
  41. ppp.device has the CD option in the config....(Whether config is in the script
  42. or set in you env: area)...and the ppp.device will just re-init the ppp
  43. connection without trying to re-dial...
  44.  
  45. <sb>
  46. <sb>
  47.                />
  48.               />  Michael M Brockman, mikey@scinter.AFTAC.GOV
  49.              />
  50.    |\_______{o}-------------------------------------------_
  51.   [\\\\\\\\\\\{MIKEY BAD}>============================-    >
  52.    |/~~~~~~~{o}-------------------------------------------~
  53.              \>  Have you ever been cruising on the Information
  54.               \>  Superhighway, just to pause and take a whiz?
  55.                \>
  56.  
  57. <sb>
  58. <sb>PGP Key Available Upon Request
  59. <sb>
  60.  
  61.